package uri.model.board;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import uri.model.BoardVO;
import uri.model.CommentVO;
import uri.model.FileVO;

public interface PublicService {

	public void boardWrite(BoardVO bvo);

	public void fileUpload(FileVO fvo);
	public abstract BoardVO detailBoard(String no);
	public void hitUp(String no);
	public ArrayList<CommentVO> getAllComment(String no);
	public int writeComment(CommentVO cvo);
	public int deleteComment(String no);
	public PublicListVO getPublicBoardList(String nowPage);
	public void deleteFileNameByPubNo(String no,String path);
	public void deleteBoardByPubNo(String no);
	public List<HashMap> findOrgAndNewFileListByPubNo(String no);
	public int updateComment(HashMap map);
	public BoardVO replyBoardWriteInfo(String no);
	public void replyBoardWrite(BoardVO bvo);
	public PublicListVO searchPublicBoardListByTitle(HashMap map);
	public PublicListVO searchPublicBoardListByContent(HashMap map);
	public PublicListVO searchPublicBoardListByTitleAndContent(HashMap map);
	public BoardVO updatePublicBoardInfo(String no);
	public void deleteFileByFileNo(String fileNo);
	public void updatePublicBoard(BoardVO bvo);
	public void updateLike(String no);
}